package com.jiegui.business.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jiegui.common.annotation.Excel;
import com.jiegui.common.core.domain.BaseQueryEntity;
import lombok.Data;

import java.util.Date;

/**
 * 收货地址信息对象 address_info
 *
 * @author wuqicheng
 * @date 2024-11-20
 */
@Data
@TableName("address_info")
public class AddressInfo extends BaseQueryEntity {
    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    private String id;

    /**
     * 用户id
     */
    @Excel(name = "用户id", readConverterExp = "用户id")
    private String customId;

    /**
     * 收货人电话
     */
    @Excel(name = "收货人电话", readConverterExp = "收货人电话")
    private String phone;

    /**
     * 收获地址
     */
    @Excel(name = "收获地址", readConverterExp = "收获地址")
    private String address;

    /**
     * 收货人称呼
     */
    @Excel(name = "收货人称呼", readConverterExp = "收货人称呼")
    private String nikeName;

    /**
     * 是否默认 0 默认，1非默认
     */
    @Excel(name = "是否默认 0 默认，1非默认", readConverterExp = "是否默认 0 默认，1非默认")
    private Integer index;

    /**
     * $column.columnComment
     */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "$column.columnComment", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


}
